﻿using System;

namespace Basics000_DisplayOutput
{
    /// <summary>
    /// Author: Mr. Jin Vincent N. Necesario
    /// Level: Beginner
    /// Problem: Write a program that prints out a massage "Hello, my name is Hal!".
    /// Then on the new line, the program should print the message "What is your name?", 
    /// Finally the program should print the message "Hello username. I am glad to meet you."
    /// Test Case: 
    /// Hello, my name is Hal!
    /// What is your name? 
    /// Input: Jin Vincent 
    /// Output:
    /// Hello, Jin Vincent. I am glad to meet you.
    /// </summary>
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello, my name is Hal!"); //prints on your screen -> Hello, my name is Hal!
            
            Console.WriteLine("What is your name?"); //prints on your screen ->  What is your name?
            
            string name = Console.ReadLine(); // reads the user's input and set the variable name to its value
            
            Console.WriteLine("Hello {0}. I am glad to meet you", name); //  prints the value of name

            Console.ReadKey(); //waits for key pressed by the user.
        }
    }
}
